Optimal. Leaf size=136 \[ -\frac{3}{8} \sqrt{\pi } e^{-a} \sqrt{b} \text{Erf}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{3 \pi } e^{-3 a} \sqrt{b} \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )-\frac{3}{8} \sqrt{\pi } e^a \sqrt{b} \text{Erfi}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{3 \pi } e^{3 a} \sqrt{b} \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )-\frac{\sinh ^3\left (a+b x^2\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.109961, antiderivative size = 136, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 5, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.357, Rules used = {5330, 5618, 5299, 2204, 2205} \[ -\frac{3}{8} \sqrt{\pi } e^{-a} \sqrt{b} \text{Erf}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{3 \pi } e^{-3 a} \sqrt{b} \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )-\frac{3}{8} \sqrt{\pi } e^a \sqrt{b} \text{Erfi}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{3 \pi } e^{3 a} \sqrt{b} \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )-\frac{\sinh ^3\left (a+b x^2\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5330
Rule 5618
Rule 5299
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \frac{\sinh ^3\left (a+b x^2\right )}{x^2} \, dx &=-\frac{\sinh ^3\left (a+b x^2\right )}{x}+(6 b) \int \cosh \left (a+b x^2\right ) \sinh ^2\left (a+b x^2\right ) \, dx\\ &=-\frac{\sinh ^3\left (a+b x^2\right )}{x}+(6 b) \int \left (-\frac{1}{4} \cosh \left (a+b x^2\right )+\frac{1}{4} \cosh \left (3 a+3 b x^2\right )\right ) \, dx\\ &=-\frac{\sinh ^3\left (a+b x^2\right )}{x}-\frac{1}{2} (3 b) \int \cosh \left (a+b x^2\right ) \, dx+\frac{1}{2} (3 b) \int \cosh \left (3 a+3 b x^2\right ) \, dx\\ &=-\frac{\sinh ^3\left (a+b x^2\right )}{x}+\frac{1}{4} (3 b) \int e^{-3 a-3 b x^2} \, dx-\frac{1}{4} (3 b) \int e^{-a-b x^2} \, dx-\frac{1}{4} (3 b) \int e^{a+b x^2} \, dx+\frac{1}{4} (3 b) \int e^{3 a+3 b x^2} \, dx\\ &=-\frac{3}{8} \sqrt{b} e^{-a} \sqrt{\pi } \text{erf}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{b} e^{-3 a} \sqrt{3 \pi } \text{erf}\left (\sqrt{3} \sqrt{b} x\right )-\frac{3}{8} \sqrt{b} e^a \sqrt{\pi } \text{erfi}\left (\sqrt{b} x\right )+\frac{1}{8} \sqrt{b} e^{3 a} \sqrt{3 \pi } \text{erfi}\left (\sqrt{3} \sqrt{b} x\right )-\frac{\sinh ^3\left (a+b x^2\right )}{x}\\ \end{align*}
Mathematica [A] time = 0.329041, size = 204, normalized size = 1.5 \[ \frac{3 \sqrt{\pi } \sqrt{b} x (\sinh (a)-\cosh (a)) \text{Erf}\left (\sqrt{b} x\right )+\sqrt{3 \pi } \sqrt{b} x (\cosh (3 a)-\sinh (3 a)) \text{Erf}\left (\sqrt{3} \sqrt{b} x\right )-3 \sqrt{\pi } \sqrt{b} x \sinh (a) \text{Erfi}\left (\sqrt{b} x\right )+\sqrt{3 \pi } \sqrt{b} x \sinh (3 a) \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )-3 \sqrt{\pi } \sqrt{b} x \cosh (a) \text{Erfi}\left (\sqrt{b} x\right )+\sqrt{3 \pi } \sqrt{b} x \cosh (3 a) \text{Erfi}\left (\sqrt{3} \sqrt{b} x\right )+6 \sinh \left (a+b x^2\right )-2 \sinh \left (3 \left (a+b x^2\right )\right )}{8 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.052, size = 149, normalized size = 1.1 \begin{align*}{\frac{{{\rm e}^{-3\,a}}{{\rm e}^{-3\,b{x}^{2}}}}{8\,x}}+{\frac{{{\rm e}^{-3\,a}}\sqrt{\pi }\sqrt{3}}{8}\sqrt{b}{\it Erf} \left ( x\sqrt{3}\sqrt{b} \right ) }-{\frac{3\,{{\rm e}^{-a}}{{\rm e}^{-b{x}^{2}}}}{8\,x}}-{\frac{3\,{{\rm e}^{-a}}\sqrt{\pi }}{8}\sqrt{b}{\it Erf} \left ( x\sqrt{b} \right ) }-{\frac{{{\rm e}^{3\,a}}{{\rm e}^{3\,b{x}^{2}}}}{8\,x}}+{\frac{3\,{{\rm e}^{3\,a}}b\sqrt{\pi }}{8}{\it Erf} \left ( \sqrt{-3\,b}x \right ){\frac{1}{\sqrt{-3\,b}}}}+{\frac{3\,{{\rm e}^{a}}{{\rm e}^{b{x}^{2}}}}{8\,x}}-{\frac{3\,{{\rm e}^{a}}b\sqrt{\pi }}{8}{\it Erf} \left ( \sqrt{-b}x \right ){\frac{1}{\sqrt{-b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.37234, size = 138, normalized size = 1.01 \begin{align*} \frac{\sqrt{3} \sqrt{b x^{2}} e^{\left (-3 \, a\right )} \Gamma \left (-\frac{1}{2}, 3 \, b x^{2}\right )}{16 \, x} - \frac{\sqrt{3} \sqrt{-b x^{2}} e^{\left (3 \, a\right )} \Gamma \left (-\frac{1}{2}, -3 \, b x^{2}\right )}{16 \, x} - \frac{3 \, \sqrt{b x^{2}} e^{\left (-a\right )} \Gamma \left (-\frac{1}{2}, b x^{2}\right )}{16 \, x} + \frac{3 \, \sqrt{-b x^{2}} e^{a} \Gamma \left (-\frac{1}{2}, -b x^{2}\right )}{16 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.86949, size = 2395, normalized size = 17.61 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh ^{3}{\left (a + b x^{2} \right )}}{x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (b x^{2} + a\right )^{3}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]